//
//  NSString+JsonStr.h
//  AdverseEvents
//
//  Created by 上海嘉礴1 on 16/8/11.
//  Copyright © 2016年 com.gable.www. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (JsonStr)

+ (NSString *)stringJsonValue:(id)JsonValue;
+ (NSString *)timeWithTimeIntervalString:(NSString *)timeString;
+ (NSString *)timeWithDate:(NSDate *)aDate;
+ (NSString *)timeCountDownInfoWithString:(NSTimeInterval)timeIntrval;
+ (NSString *)changeObToJsonWith:(id)object;
+ (NSString *)timeWithStr:(NSString *)aDateStr;
+ (NSString *)stringWithStatus:(NSString *)statuStr;
+ (NSString *)stringWithMoney:(NSString *)moneyStr;// 金额格式化
+ (NSString *)stringWithPoint:(NSString *)pointStr; // 加息券格式化
+ (NSString *)stringWithMoneyNoPoint:(NSString *)moneyStr;// 金额格式化
+ (NSString *)stringWithMoneyNoPointAndYuan:(NSString *)moneyStr;
+ (NSString *)stringWithProfit:(NSString *)profit;
+ (NSAttributedString *)stringWithStrArray:(NSArray<NSString *> *)strArr fontArray:(NSArray<NSNumber *> *)fontArr;
+ (NSString *)stringWithMoneyNoPointNOYuan:(NSString *)moneyStr;
+ (NSAttributedString *)stringWithStrArray:(NSArray<NSString *> *)strArr colorArray:(NSArray<UIColor *> *)colorArr;
+ (NSAttributedString *)stringWithStrArray:(NSArray<NSString *> *)strArr fontArray:(NSArray<NSNumber *> *)fontArr colorArray:(NSArray<UIColor *> *)colorArr;
@end
